package com.mystudio.android.calendar.model;

import java.text.SimpleDateFormat;
import java.util.Date;

public class Instance {
	public String eventId;
	public String calendarId;
	public String title;
	public String description;
	public String begin;
	public String end;
	public int startDay;
	public int endDay;
	public int color;
	public String allDay;

	public Instance() {
	}

	@Override
	public String toString() {
		return eventId + ":" + calendarId + ":" + title + ":" + SimpleDateFormat.getDateTimeInstance().format(new Date(Long.valueOf(begin))) + ":" + SimpleDateFormat.getDateTimeInstance().format(Long.valueOf(end));
	}
}

